package com.lsl.controller;

import com.lsl.service.ZuCeService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;

@Controller
@RequestMapping("/zuce")
public class ZuCeController {
    @Autowired
    private ZuCeService zuCeService;

    @RequestMapping("/deleteById")
    @ResponseBody
    public int updateById(int id){
        return zuCeService.deleteByPrimaryKey(id);
    }
}
